package demo

import "fmt"

func FindWithMap() {
	Init()
	var res []map[string]any
	DB.Debug().Model(&Advanced{}).Where("name = @name and age = @age", map[string]any{"name": "李元芳5", "age": 32}).
		Find(&res)
	fmt.Println(res)

}
